import sqlite3

conn = sqlite3.connect("t66y.db")
cursor = conn.cursor()
cursor1 = conn.cursor()
cur = cursor.execute("SELECT * FROM url")
for row in cur:
    print(row[1])
    print(row[2])
    print(row[3])
    cursor1.execute("INSERT OR REPLACE INTO t66y(name,url,page_index) VALUES (?,?,?)", (row[1], row[2], row[3]))
    conn.commit()
